package com.lcf.user.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/user")
public class TestController {
    @GetMapping("test1")
    public String test1() {
        return "hello";
    }

    @GetMapping("test2")
    public String test2(String foo) {
        return "hello + " + foo + "哈哈";
    }
}
